package com.wiken.storeservice.service;

import com.wiken.storeservice.entity.Type;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface ITypeService extends IService<Type> {
    boolean addType(Type type, String token);

    boolean updateType(Type type, String token);

    boolean deleteType(Type type, String token);

    List<Type> getTypes();
}
